﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BSCMFF.Core.BusinessLayer;

namespace BSCMFF.Web
{
    /// <summary>
    /// Default page. Shows company info.
    /// </summary>
    /// <remarks></remarks>
    public partial class Default1 : BSCMFF.Core.MultiLanguagePage
    {
        /// <summary>
        /// 
        /// </summary>
        public BSCMFF.Core.DataAccessLayer.DataObjects.CompanyInfo ci;
        /// <summary>
        /// Handles the Load event of the Page control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        /// <remarks></remarks>
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                CompanyInfoManager cim = new CompanyInfoManager();

                ci = cim.GetCompanyInfo();
                this.DataBind();
            }
        }
    }
}